package com.tre.jdevtemplateboot.domain.po;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.*;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 熊一鸣
 * @since 2023-11-15
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SpLoginDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId
    private Integer id;

    private String employeeAccount;

    private String ip;

    private String browser;

    private String province;

    private String city;

    private BigDecimal x;

    private BigDecimal y;

    private LocalDateTime logindate;

    private LocalDateTime createDate;

    private String createPerson;

    private LocalDateTime editDate;

    private String editPerson;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getEmployeeAccount() {
        return employeeAccount;
    }

    public void setEmployeeAccount(String employeeAccount) {
        this.employeeAccount = employeeAccount;
    }
    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }
    public String getBrowser() {
        return browser;
    }

    public void setBrowser(String browser) {
        this.browser = browser;
    }
    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }
    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }
    public BigDecimal getX() {
        return x;
    }

    public void setX(BigDecimal x) {
        this.x = x;
    }
    public BigDecimal getY() {
        return y;
    }

    public void setY(BigDecimal y) {
        this.y = y;
    }
    public LocalDateTime getLogindate() {
        return logindate;
    }

    public void setLogindate(LocalDateTime logindate) {
        this.logindate = logindate;
    }
    public LocalDateTime getCreateDate() {
        return createDate;
    }

    public void setCreateDate(LocalDateTime createDate) {
        this.createDate = createDate;
    }
    public String getCreatePerson() {
        return createPerson;
    }

    public void setCreatePerson(String createPerson) {
        this.createPerson = createPerson;
    }
    public LocalDateTime getEditDate() {
        return editDate;
    }

    public void setEditDate(LocalDateTime editDate) {
        this.editDate = editDate;
    }
    public String getEditPerson() {
        return editPerson;
    }

    public void setEditPerson(String editPerson) {
        this.editPerson = editPerson;
    }

    @Override
    public String toString() {
        return "SpLoginDetail{" +
            "id=" + id +
            ", employeeAccount=" + employeeAccount +
            ", ip=" + ip +
            ", browser=" + browser +
            ", province=" + province +
            ", city=" + city +
            ", x=" + x +
            ", y=" + y +
            ", logindate=" + logindate +
            ", createDate=" + createDate +
            ", createPerson=" + createPerson +
            ", editDate=" + editDate +
            ", editPerson=" + editPerson +
        "}";
    }
}
